/*
Copyright (C) 2022-2024 Inspur Corp. All Rights Reserved.

SPDX-License-Identifier: Apache-2.0
*/
package model

// ObtainEvidenceList 取证列表返回数据
type ObtainEvidenceList struct {
	EvidenceId   string `json:"evidenceId"`
	EvidenceName string `json:"evidenceName"`
	ObtainUrl    string `json:"obtainUrl"`
	Description  string `json:"description"`
	ObtainType   string `json:"obtainType"`
	TxId         string `json:"txId"`
	TxTime       string `json:"txTime"`
	Status       string `json:"status"`
	CreatedTime  string `json:"createdTime"`
	UpdatedTime  string `json:"updatedTime"`
}

// ObtainEvidenceDetail 取证明细返回数据
type ObtainEvidenceDetail struct {
	EvidenceId   string                `json:"evidenceId"`
	EvidenceName string                `json:"evidenceName"`
	ObtainType   string                `json:"obtainType"`
	TxId         string                `json:"txId"`
	TxTime       string                `json:"txTime"`
	BlockNum     uint64                `json:"blockNum"`
	BlockHash    string                `json:"blockHash"`
	TxContent    string                `json:"txContent"`
	EvidenceData string                `json:"evidenceData"`
	Signature    string                `json:"signature"`
	PubKey       string                `json:"pubKey"`
	Status       string                `json:"status"`
	EvidenceCert string                `json:"evidenceCert"`
	FileList     []*ObtainEvidenceFile `json:"fileList"`
}

// ObtainEvidenceFile 取证文件信息
type ObtainEvidenceFile struct {
	FileName string `json:"fileName"`
	FileHash string `json:"fileHash"`
	FileUrl  string `json:"fileUrl"`
}
